package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * refund对象 refund
 * 
 * @author 墨染
 * @date 2025-01-09
 */
public class Refund extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 退货id */
    private Long refundId;

    /** 订单项id */
    @Excel(name = "订单项id")
    private Long orderItemId;

    /** 退货数量 */
    @Excel(name = "退货数量")
    private Long refundCount;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private Long refundAmount;

    /** 退款积分 **/
    @Excel(name = "退款积分")
    private Long refundPoints;

    /** 退款说明 */
    @Excel(name = "退款说明")
    private String refundInstructions;

    /** 退款说明图片 **/
    @Excel(name = "退款说明图片")
    private String refundImg;

    /** 是否同意 **/
    @Excel(name = "是否同意")
    private String isEnable;

    @Excel(name = "不同意的理由")
    private String noEnableReason;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDel;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String ex1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String ex2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String ex3;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String ex4;

    /** 扩展字段5 */
    @Excel(name = "扩展字段5")
    private String ex5;

    public void setRefundId(Long refundId) 
    {
        this.refundId = refundId;
    }

    public Long getRefundId() 
    {
        return refundId;
    }
    public void setOrderItemId(Long orderItemId) 
    {
        this.orderItemId = orderItemId;
    }

    public Long getOrderItemId() 
    {
        return orderItemId;
    }
    public void setRefundCount(Long refundCount) 
    {
        this.refundCount = refundCount;
    }

    public Long getRefundCount() 
    {
        return refundCount;
    }
    public void setRefundAmount(Long refundAmount) 
    {
        this.refundAmount = refundAmount;
    }

    public Long getRefundAmount() 
    {
        return refundAmount;
    }
    public void setRefundInstructions(String refundInstructions) 
    {
        this.refundInstructions = refundInstructions;
    }

    public String getRefundInstructions() 
    {
        return refundInstructions;
    }
    public void setIsDel(Long isDel) 
    {
        this.isDel = isDel;
    }

    public Long getIsDel() 
    {
        return isDel;
    }
    public void setEx1(String ex1) 
    {
        this.ex1 = ex1;
    }

    public String getEx1() 
    {
        return ex1;
    }
    public void setEx2(String ex2) 
    {
        this.ex2 = ex2;
    }

    public String getEx2() 
    {
        return ex2;
    }
    public void setEx3(String ex3) 
    {
        this.ex3 = ex3;
    }

    public String getEx3() 
    {
        return ex3;
    }
    public void setEx4(String ex4) 
    {
        this.ex4 = ex4;
    }

    public String getEx4() 
    {
        return ex4;
    }
    public void setEx5(String ex5) 
    {
        this.ex5 = ex5;
    }

    public String getEx5() 
    {
        return ex5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("refundId", getRefundId())
            .append("orderItemId", getOrderItemId())
            .append("refundCount", getRefundCount())
            .append("refundAmount", getRefundAmount())
            .append("refundPoints", getRefundPoints())
            .append("refundInstructions", getRefundInstructions())
            .append("refundImg", getRefundImg())
            .append("isEnable", getIsEnable())
            .append("noEnableReason", getNoEnableReason())
            .append("isDel", getIsDel())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("ex1", getEx1())
            .append("ex2", getEx2())
            .append("ex3", getEx3())
            .append("ex4", getEx4())
            .append("ex5", getEx5())
            .toString();
    }

    public Long getRefundPoints() {
        return refundPoints;
    }

    public void setRefundPoints(Long refundPoints) {
        this.refundPoints = refundPoints;
    }

    public String getRefundImg() {
        return refundImg;
    }

    public void setRefundImg(String refundImg) {
        this.refundImg = refundImg;
    }

    public String getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(String isEnable) {
        this.isEnable = isEnable;
    }

    public String getNoEnableReason() {
        return noEnableReason;
    }

    public void setNoEnableReason(String noEnableReason) {
        this.noEnableReason = noEnableReason;
    }
}
